package com.chushouya.product.dto.admin.evaluateitem;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 估价项目选项更新DTO
 */
@Data
@ApiModel(value = "估价项目选项更新DTO")
public class EvaluateItemValueUpdateDTO {

    @ApiModelProperty(value = "项目选项ID", required = true)
    @NotNull(message = "项目选项ID不能为空")
    private Long evaluateValueId;

    @ApiModelProperty(value = "项目选项名称", required = true)
    @NotBlank(message = "项目选项名称不能为空")
    private String valueContent;

    @ApiModelProperty(value = "项目ID", required = true)
    @NotNull(message = "项目ID不能为空")
    private Long evaluateItemId;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "状态")
    private Integer status;

}
